import { DIRECTION_ORDER_ENUM, PARAMS_NAME_ENUM } from "../Enums";
import { subStateMachine } from "./subStateMachine";




export default class DirectionSubStateMachine extends subStateMachine {

    run() {
        const value = this.fsm.getParams(PARAMS_NAME_ENUM.DIRECTION);
        this.currentState = this.statMachines.get(DIRECTION_ORDER_ENUM[value as number]);
    }
}